-- GENERATED SPELL FOR [Carlin Redpath] --


function spell0_11063(pUnit, Event) --6Create Relic Bundle,n/a--
pUnit:FullCastSpellOnTarget(18988,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11063', 590, 1)
end

function Sorts_11063(pUnit, Event)
local choix_sorts_11063 = math.random(0, 0)
if choix_sorts_11063 == 0 then
pUnit:RegisterEvent('spell0_11063', 1, 1)
end
end

function mob11063_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_11063', math.random(1500, 3000), 1)
end

function mob11063_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11063_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11063_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(11063, 1, 'mob11063_Action')
RegisterUnitEvent(11063, 2, 'mob11063_Leave')
RegisterUnitEvent(11063, 3, 'mob11063_Kill')
RegisterUnitEvent(11063, 4, 'mob11063_Die')
